#pragma once

class CMemDc
{
public:
	CMemDc(HDC hDC,const CSize& szPaint);
	CMemDc(HDC hDC,const CBitmap* bmMap);
	~CMemDc(void);
	HDC GetGetSafeHDC();
private:
	HGDIOBJ m_hOldDc;
	HDC		m_hDC;
	HDC		m_NewDc;
	HBITMAP m_MapDc;
};
